home *** CD-ROM | disk | FTP | other *** search
-
-
-
- iiiillllVVVVkkkkVVVViiiieeeewwww((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllVVVVkkkkVVVViiiieeeewwww((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- iiiillllVVVVkkkkVVVViiiieeeewwww - statically displays a single ilImage
-
-
- IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
- ilVkComponent
-
-
- HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
- #include <il/ilVkView.h>
-
-
- CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This component displays an ilImage in an SSSSggggVVVViiiissssuuuuaaaallllDDDDrrrraaaawwwwiiiinnnnggggAAAArrrreeeeaaaa widget. An
- XmForm is used as the base widget of the component. The component is
- created as a child of the parent widget specified in the constructor.
- The drawing area is created with a visual to match the attributes
- specified by arguments passed to the constructor. For example, RGB mode
- and Double Buffer mode may be enabled or disabled.
-
- An iiiillllDDDDiiiissssppppllllaaaayyyy object is created to display the image within the drawing
- area. The ilDisplay object may be accessed to perform additional image
- manipulation. Several virtual callbacks are provided to handle expose,
- input, map and resize events. The default implementation of these
- callbacks may be overridden by a derived class.
-
- CCCCLLLLAAAASSSSSSSS MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN SSSSUUUUMMMMMMMMAAAARRRRYYYY
- CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr
-
- ilVkView(const char* name, Widget parent)
- ilVkView(const char* name)
- ilVkView(const char* name, Widget parent, int attributes,
- int minComponentSize=8, int maxComponentSize=0)
-
- GGGGeeeetttt////sssseeeetttt mmmmeeeetttthhhhooooddddssss
-
- void create(Widget parent)
- const char * className()
- void getSize(int& width, int& height)
- Widget getDrawArea()
- ilDisplay* getDisplay()
- void paint()
- virtual void expose(Widget, XtPointer) _p_r_o_t_e_c_t_e_d
- virtual void input(Widget, XtPointer) _p_r_o_t_e_c_t_e_d
- virtual void resize(Widget, XtPointer) _p_r_o_t_e_c_t_e_d
- virtual void map(Widget, XEvent*, Boolean*) _p_r_o_t_e_c_t_e_d
- virtual void ilUpdateWidget() _p_r_o_t_e_c_t_e_d
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- iiiillllVVVVkkkkVVVViiiieeeewwww((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllVVVVkkkkVVVViiiieeeewwww((((3333))))
-
-
-
- FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
- iiiillllVVVVkkkkVVVViiiieeeewwww(((())))
-
- ilVkView(const char* name)
- ilVkView(const char* name, Widget parent)
- ilVkView(const char* name, Widget parent, int attributes,
- int minComponentSize=8, int maxComponentSize=0)
-
-
- The first version of the constructor simply takes the name of the
- component. The name of the object is initialized to the name
- specified.
-
- The second and third versions of the constructor take the name of
- the component and also a pointer to the parent widget. The
- component is created as a child of the specified parent widget.
-
- In the third version three parameters allow the attributes of the
- chosen visual to be specified (see the ffffiiiinnnnddddVVVViiiissssuuuuaaaallllBBBByyyyAAAAttttttttrrrr method of
- iiiillllHHHHwwwwCCCCoooonnnnnnnneeeeccccttttiiiioooonnnn(3) for more information). This visual is then used
- to create the SgVisualDrawingArea widget in which the images are
- displayed.
-
- ccccllllaaaassssssssNNNNaaaammmmeeee(((())))
-
- const char * className()
-
-
- Returns the name of the class. See VkComponent for more information.
-
- ccccrrrreeeeaaaatttteeee(((())))
-
- void create(Widget parent)
-
-
- Creates the component as a child of _p_a_r_e_n_t.
-
- eeeexxxxppppoooosssseeee(((())))
-
- virtual void expose(Widget, XtPointer) _p_r_o_t_e_c_t_e_d
-
-
- This virtual method is called by the expose callback when the
- component is exposed. The contents of the drawing area are redrawn
- by calling the redraw method on ilDisplay.
-
- ggggeeeettttDDDDiiiissssppppllllaaaayyyy(((())))
-
- ilDisplay* getDisplay()
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- iiiillllVVVVkkkkVVVViiiieeeewwww((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllVVVVkkkkVVVViiiieeeewwww((((3333))))
-
-
-
- Returns a pointer to the ilDisplay object used to display the
- ilImage within the drawing area. The image may be manipulated using
- methods on ilDisplay. See iiiillllDDDDiiiissssppppllllaaaayyyy for more information.
-
- ggggeeeettttDDDDrrrraaaawwwwAAAArrrreeeeaaaa(((())))
-
- Widget getDrawArea()
-
-
- Returns the SgVisualDrawingArea widget used to display the image.
- See SSSSggggVVVViiiissssuuuuaaaallllDDDDrrrraaaawwwwiiiinnnnggggAAAArrrreeeeaaaa for more information.
-
- ggggeeeettttSSSSiiiizzzzeeee(((())))
-
- void getSize(int& width, int& height)
-
-
- Returns the current size of the drawing area as width and height.
-
- iiiillllUUUUppppddddaaaatttteeeeWWWWiiiiddddggggeeeetttt(((())))
-
- virtual void ilUpdateWidget() _p_r_o_t_e_c_t_e_d
-
-
- This virtual method is called by sssseeeettttIIIImmmmaaaaggggeeee(). It creates the
- ilDisplay object within the SgVisualDrawingArea widget.
-
- iiiinnnnppppuuuutttt(((())))
-
- virtual void input(Widget, XtPointer) _p_r_o_t_e_c_t_e_d
-
-
- This virtual method is called by the input callback when X input
- events are received. Since this component statically displays an
- ilImage, no actions are performed in response to input events.
- However, a derived class may choose to manipulate the image within
- the ilDisplay object in response to input events. See also
- iiiillllVVVVkkkkVVVViiiieeeewwwweeeerrrr.
-
- mmmmaaaapppp(((())))
-
- virtual void map(Widget, XEvent*, Boolean*) _p_r_o_t_e_c_t_e_d
-
-
- This virtual method is by the map callback when X map notify events
- are received.
-
- ppppaaaaiiiinnnntttt(((())))
-
- void paint()
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-
-
-
- iiiillllVVVVkkkkVVVViiiieeeewwww((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllVVVVkkkkVVVViiiieeeewwww((((3333))))
-
-
-
- Calling this method will cause the image view to be re-painted.
-
- rrrreeeessssiiiizzzzeeee(((())))
-
- virtual void resize(Widget, XtPointer) _p_r_o_t_e_c_t_e_d
-
-
- This virtual method is called by the resize callback when the
- component is resized. It updates the current size of the drawing
- area.
-
- IIIINNNNHHHHEEEERRRRIIIITTTTEEEEDDDD MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiillllVVVVkkkkCCCCoooommmmppppoooonnnneeeennnntttt
- className(), getImage(), getParent(), ilUpdateWidget(), setImage(),
- setParent()
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkCCCCoooommmmppppoooonnnneeeennnntttt
- afterRealizeHook(), baseWidget(), className(), getResources(), hide(),
- installDestroyHandler(), manage(), name(), okToQuit(), operator Widget(),
- removeDestroyHandler(), setDefaultResources(), show(), unmanage(),
- widgetDestroyed()
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- VkComponent, ilVkComponent, ilDisplay
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 4444
-
-
-
-